<?php
/**
 * Created by PhpStorm.
 * User: wangjinbao
 * Date: 17/11/20
 * Time: 下午3:22
 */
namespace App\Http\Controllers;
use App\User;
use App\Lottery;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\Jobs\ExampleJob;
class LotteryController extends Controller
{
//    private $salt;

    public function __construct()
    {
//        $this->salt = "userloginregister";
    }

    public function index()
    {
//        dispatch(new ExampleJob('WJB'));
//        echo 1;
//        exit;
//        Lottery::test();
//        exit;
        return view('lottery');
    }

}